package com.hzbat.service.impl;  																		  

import java.util.List;																					
import org.slf4j.Logger;																				
import org.slf4j.LoggerFactory;																			
import org.springframework.beans.factory.annotation.Autowired;											
import org.springframework.stereotype.Service;															

import com.hzbat.dao.PmHzbatBatchesTasksMapper;																		
import com.hzbat.entity.PmHzbatBatchesTasks;																	
import com.hzbat.service.PmHzbatBatchesTasksService;																	
import com.github.pagehelper.PageInfo;																	
		
@Service("pmHzbatBatchesTasksServiceImpl")																	
public class PmHzbatBatchesTasksServiceImpl extends BasicServiceImpl<PmHzbatBatchesTasks> implements PmHzbatBatchesTasksService{	
		private static Logger logger = LoggerFactory.getLogger(PmHzbatBatchesTasksServiceImpl.class);				  

		@Autowired																							
		PmHzbatBatchesTasksMapper pmHzbatBatchesTasksMapper ;																  

		@Override																							
		public List<PmHzbatBatchesTasks> getList(PmHzbatBatchesTasks pmHzbatBatchesTasks) {									
			logger.info("查询用户列表");																		
			List<PmHzbatBatchesTasks> u = pmHzbatBatchesTasksMapper.getList(pmHzbatBatchesTasks);								
			return u;																						
		}																								  

		@Override																							
		public PmHzbatBatchesTasks get(PmHzbatBatchesTasks pmHzbatBatchesTasks) {											
			PmHzbatBatchesTasks u = pmHzbatBatchesTasksMapper.get(pmHzbatBatchesTasks);											
			return u;																						
		}																								  

		@Override																							
		public void add(PmHzbatBatchesTasks pmHzbatBatchesTasks) {														
			pmHzbatBatchesTasksMapper.add(pmHzbatBatchesTasks);															
		}																								  

		@Override																							
		public void update(PmHzbatBatchesTasks pmHzbatBatchesTasks) {													
			pmHzbatBatchesTasksMapper.update(pmHzbatBatchesTasks);															
		}																								  

		@Override																							
		public void delete(PmHzbatBatchesTasks pmHzbatBatchesTasks) {													
			pmHzbatBatchesTasksMapper.delete(pmHzbatBatchesTasks);															
		}																								  

		@Override																							
		public PageInfo<PmHzbatBatchesTasks> getPage(PmHzbatBatchesTasks pmHzbatBatchesTasks) {								
			return getPage(pmHzbatBatchesTasks.getPageNum(),pmHzbatBatchesTasks.getPageSize(),pmHzbatBatchesTasks);		
		}																									
}																									  


